﻿using Domain.Entity;
using Domain.Entity.Fy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
	public interface IHFRepository
	{
		//插叙全部数据
		List<HF> SelectHf(string HumanFileStatus);

		//多条件查询查档案状态为通过复核的数据
		List<HF> GetHF(string HumanFileStatus, string? FirstKindName, string? SecondKindName, string? ThirdKindName, string? HumanMajorKindName, string? HunmaMajorName, DateTime? startDate, DateTime? endDate);

		HFFy GetHFFy(int currentPage, int pageSize, string HumanFileStatus);

		Task<bool> HFAdd(HF hF);

		Task<bool> Updatehf(HF hF);
		//修改删除`和`恢复`状态
		Task<bool> UpdatehfHumanFileStatus(HF hF);
		//修改档案整个表
		Task<bool> Updatehfbiao(HF hF);

		Task<bool> DeleteHF(int id);


	}
}
